<template>
  <div class="chart-container">
          <div v-for="(item,index) in propObj" :key="index">
                 <span>{{item}}</span>
          </div> 
          <button @click="sendParents">点击</button>

  </div>
</template>

<script>
export default {
  name: "childOne",
  filters: {},
  props:{
      propObj:{
          type:Array,
           required: true
      },
  },
  data() {
    return {
          


    };
  },
  created() {

  },
  mounted() {
     
  },
  methods: {

       sendParents(){
           this.propObj.push(100)
           //this.$emit('parendId','parendId123')

       }



  }
};
</script>

<style lang="scss" scoped>
    .chart-container {
        position: relative;
        width: 100%;
        height: calc(100vh - 84px);
    }

</style>
